<template>
  <div v-if="currentShape.id" class="overflow">
    <!-- 动态组件 -->
    <DynamicComponent />
    <BaseInfo />
  </div>
</template>

<script setup lang="ts">
import { currentShape } from '../../data/shapes';
import BaseInfo from './sub-components/BaseInfo.vue';
import DynamicComponent from './sub-components/DynamicComponent.vue';
</script>

<style lang="scss" scoped>
.overflow {
  max-height: 860px;
  overflow-y: auto;
}
</style>
